import { http } from "@/utils/http";

export type Result = any;

/** 登录 */
export const getLogin = (data?: object) => {
  return http.request<Result>("post", "/public/user/login", { data });
};
/** 修改登录密码 */
export const updatePass = (data?: object) => {
  return http.request<Result>("post", "/user/password/mod", { data });
};
